package com.eastfair.pay.dto;

import com.eastfair.core.base.entity.SuperEntity;
import com.eastfair.pay.entity.PayBody;
import com.eastfair.pay.entity.QueryBody;
import com.eastfair.pay.entity.RefundBody;
import com.eastfair.pay.entity.RefundQueryBody;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;


/**
 * 银联实体
 */
@Data
@ApiModel(value = "ChinaumsDTO", description = "银联实体")
public class ChinaumsDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * PayBody
     */
    @ApiModelProperty(value = "PayBody")
    private PayBody payBody;

    /**
     * QueryBody
     */
    @ApiModelProperty(value = "QueryBody")
    private QueryBody queryBody;

    /**
     * QueryBody
     */
    @ApiModelProperty(value = "QueryBody")
    private RefundQueryBody refundQueryBody;

    /**
     * RefundBody
     */
    @ApiModelProperty(value = "RefundBody")
    private RefundBody refundBody;

    /**
     * authorization
     */
    @ApiModelProperty(value = "authorization")
    private String authorization;

    /**
     * signature
     */
    @ApiModelProperty(value = "signature")
    private String signature;

    /**
     * url
     */
    @ApiModelProperty(value = "url")
    private String url;

    /**
     * response
     */
    @ApiModelProperty(value = "response")
    private String response;
    /**
     * 银联支付方式
     */
    @ApiModelProperty(value = "银联支付方式")
    @Size(max = 255, message = "银联支付方式长度不能超过255")
    private String instMid;
}
